﻿using System;
using System.Data;
using System.Collections.Generic;
using Maticsoft.Common;
using Maticsoft.Model;
namespace Maticsoft.BLL
{
	/// <summary>
	/// Members
	/// </summary>
	public partial class Members
	{
        public DataSet GetMemberByUserNamePassword(string userName, string password)
        {
            return dal.GetMemberByUserNamePassword(userName, password);
        }

        public Maticsoft.Model.Members GetModel(string userName)
        {
            return dal.GetModel(userName);
        }

        public Maticsoft.Model.Members GetModel(string userName, string password)
        {
            return dal.GetModel(userName, password);
        }

        public int DeleteByIds(string ids)
        {
            return dal.DeleteByIds(ids);
        }
        /// <summary>
        /// 修改认证状态
        /// </summary>
        /// <param name="ids"></param>
        /// <param name="stat"></param>
        /// <returns></returns>
        public int UpdateStatusByIds(string ids,int stat)
        {
            return dal.UpdateStatusByIds(ids,stat);
        }
	}
}

